package siteflash.model;

import java.util.ArrayList;

import javax.jdo.annotations.Persistent;

public class Paginate {
	@Persistent
	private int limit = 12;
	@Persistent
	private int limitPage = 10;
	@Persistent
	private int currentPage = 1;
	@Persistent
	private ArrayList<String> pages = new ArrayList<String>();
	@Persistent
	private int next = 0;
	@Persistent
	private int prev = 0;
	@Persistent
	private int start = 0;
	@Persistent
	private int end = 0;
	@Persistent
	private int total = 0;
	public int getLimit() {
		return limit;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	public int getLimitPage() {
		return limitPage;
	}
	public void setLimitPage(int limitPage) {
		this.limitPage = limitPage;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public ArrayList<String> getPages() {
		return pages;
	}
	public void setPages(ArrayList<String> pages) {
		this.pages = pages;
	}
	public int getNext() {
		return next;
	}
	public void setNext(int next) {
		this.next = next;
	}
	public int getPrev() {
		return prev;
	}
	public void setPrev(int prev) {
		this.prev = prev;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
}
